home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 11 / AMUG BBS in a Box Volume XI (April 1994) (MacWizards).iso / Files / Tele / D-F / DIALSC16.sit / DialScript 1.6 / Examples / DelayNext.ds < prev    next >
Encoding:
Text File  |  1990-11-03  |  379 b   |  15 lines  |  [TEXT/dIsR]

  1. script DelayNext
  2.                 -- Execution begins at the first state-- "one" in this case
  3.    state one
  4.       display "I'll wait ten seconds and then go to the next state";
  5.       delay 10;
  6.       next two;
  7.       display "This statement never gets executed";
  8.    end;
  9.  
  10.    state two
  11.       display "I am at state two";
  12.    end;    -- Script terminates when it hits state "end"
  13.  
  14. end;
  15.